﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.EntityModel;
using System.ComponentModel.DataAnnotations;
using BneyBaruch.Technology.SourcesRepository.EntityModel.Metadata;

namespace BneyBaruch.Technology.SourcesRepository.EntityModel
{
    [MetadataType(typeof(AuthorEntityMetadata))]
    public class AuthorEntity : Entity, IAuthor
    {
        #region IAuthor Members

        public virtual string AuthorName
        {
            get;
            set;
        }

        public virtual string AuthorShortName
        {
            get;
            set;
        }

        public virtual IList<ISource> Sources
        {
            get;
            set;
        }

        #endregion
    }
}
